home *** CD-ROM | disk | FTP | other *** search
/ The Programmer Disk / The Programmer Disk (Microforum).iso / xpro / vb1 / pro5 / snddemo.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1992-10-18  |  2.9 KB  |  92 lines

  1. Form1
  2. Windows System Sound Demo
  3. Form1
  4. Label1
  5. Windows system sounds can be accessed by reading the Win.Ini file and passing sound file names to the API commands for playing WAV sounds.  
  6. Command1
  7. Asterisk
  8. Command1
  9. Critical Stop
  10. Command1
  11. Default Beep
  12. Command1
  13. Exclamation
  14. Command1
  15. Question
  16. Command1
  17. Windows Start
  18. Command1
  19. Windows Exit
  20. Label2
  21. QThese sounds may also be tied (via code) to the VB MsgBox statement and function.
  22. Command2
  23. Asterisk
  24. Command2
  25. Critical Stop
  26. Command2
  27. Exclamation
  28. Command2
  29. Question
  30. Form_Click
  31. SndPlaySound^
  32. FileName
  33.     snd_async2
  34. ByValsnd_async
  35. Command1_Clicko
  36. Index
  37. resultc
  38. Case0
  39. Command2_Click
  40. GetProfileString
  41.     lpAppName
  42.     lpKeyName
  43.     lpDefault
  44. lpReturnedString
  45. nSize
  46. AppName
  47. NumChar
  48.     Form_Load
  49. lpReturn
  50. MB_ICONSTOP
  51. MB_ICONQUESTION
  52. MB_ICONEXCLAMATION
  53. MB_ICONINFORMATION
  54. IconTypeL
  55. SndPlaySound is the API call to (obviously) play the WAV file passed to it
  56. mmsystemx
  57. Kernel
  58.  Critical messageT
  59.  Warning query
  60.  Warning message
  61.  Information message    
  62. Command1_Click
  63. Asterisk
  64. SystemAsterisk
  65. Critical Stopi
  66. SystemHand
  67. Default Beep
  68. SystemDefault"
  69. ExclamationE
  70. SystemExclamation"
  71. Question
  72. SystemQuestion
  73. Windows Startn
  74. SystemStart"
  75. Windows Exit
  76. SystemExit
  77. sounds
  78. Command2_Click
  79. Asterisk
  80. SystemAsterisk
  81. Asterisk system sound demo
  82. Critical Stop
  83. SystemHand
  84. Critical stop system sound demo"
  85. Exclamation"
  86. SystemExclamation"
  87. Exclamation/Warning system sound demo"
  88. Question
  89. SystemQuestion
  90. Query system sound demo"
  91. sounds
  92.